package com.hsh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hsh.persist.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * excel 数据模板表（如：值班、排班表）
 * </p>
 *
 * @author 黄思海
 * @since 2021-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_excel_template")
@ApiModel(value = "SysExcelTemplate对象", description = "excel 数据模板表（如：值班、排班表）")
public class SysExcelTemplate extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "pk")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "excel 类型（如：排班.xlsx ...）")
    private String type;

    @ApiModelProperty("动态模板归属类配置")
    private String confType;

    @ApiModelProperty(value = "第一行标题")
    private String headName;

}
